package de.fuberlin.inf.alp2.ue10.a2;

public class Broker {
	public static void main(String[] args) {
		Wertpapier[] depot = new Wertpapier[10];
		depot[0]=new Aktie(716463, 263.50, 2.35);
		depot[1]=new FestzinsWP(114103, 1031.60, 7.25);
		depot[2]=new Aktie(896686, 31.25, 0.5);
		depot[3]=new FestzinsWP(393173, 1025, 6.25);
		System.out.println("Summe: "+Wertpapier.summeKurswerte(depot));
	}
}